<?php
include ("headerPages.php");
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 *
 */
?>

<h1>Donation Area</h1>
<div id='information'>
All the donations are made through Paypal's website, the next information is for Aligned Visions records which not confirm your donation. 
<form action='DonationArea.php' method='post' name="donationForm"> 
    <h2>Information about your Paypal Account:</h2>
    <p>Donator Name: <input type='text' name='donatorName' value=''>
    <p>Donator Phone: <input type='text' name='donatorPhone' value=''>
    <p>Donator E-mail: <input type='text' name='donatorEmail' value=''>
    <p>    
    <h2>Entrepreneur:</h2>     
    <p>Entrepreneur Name: <input type='text' name='EnterpreneurName' value=''>
    <p>Desire amount to donate:<input type='text' name='amount' value=''>
    <p>Entrepreneur E-mail registered in Paypal: <input type='text' name='receiverEmail' onchange='' value=''>
    <input type=button onclick='showPaypalButton();' value='OK'>
</form>
</div>

<script type="text/javascript">
 function showPaypalButton()
 {
    document.PaypalForm.business.value=document.donationForm.receiverEmail.value;
    document.PaypalForm.item_name.value="donation from:" + document.donationForm.donatorName.value + " value:" + document.donationForm.amount.value ;
    document.getElementById('payPalButton').style.display='inline'; 
    document.getElementById('information').style.display='none';
 }


</script>

<div id ='payPalButton' style="display: none">
The next button will redirect you to Paypal's website to execute a a secure and protected donation:       
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" name="PaypalForm">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="Email_address_to_receive@payments.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Donation Aligned Visions">
<input type="hidden" name="item_number" value="Aligned_Visions_First_Step">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

</div>

      <div id="bottom">
          <table>
            <tr>
                 
                <td class="space">
                    <img src="images/contact.jpg" />  
                </td>
                <td class="space">
                    <div class="title"> Contact </div> 
                    <div class="info"><a href="mailto:info@alignedvisions.org" style="color: #FFFFFF">info@alignedvisions.org</a></div>
                </td>
                <td class="space">
                    <img src="images/copyright.jpg" />  
                </td>
                <td class="space">
                    <div class="title"> All rights reserved </div> 
                    <div class="info"> &copy; 2013 by Flavia, Bruno & Luciano &reg;. </div>
                </td>
            </tr>
          </table>
      </div>